<?php if(is_object($ac->CurrentProfile->getImageObject())): ?>
<img src="<?php echo $ac->CurrentProfile->getImageObject()->getLink(180, 135); ?>" /><br /><hr />
<?php endif; ?>
<h2><?php echo ucfirst($txt->getWord('contact_information')); ?></h2>
<?php if($ac->CurrentProfile->getCompany() != ''):  ?>
<h3><?php echo $ac->CurrentProfile->getCompany(); ?></h3>
<?php else: ?>
<h3><?php echo $ac->CurrentProfile->getName(); ?></h3>
<?php endif; ?>
<table cellpadding="0" cellspacing="0" border="0">
	<?php if($ac->CurrentProfile->getLocationZip() != ''):  ?>
	<tr><td><?php echo $ac->CurrentProfile->getLocationZip(); ?></td><td>&nbsp;</td><td><?php echo $ac->CurrentProfile->getLocationCity(); ?></td></tr>
	<?php endif; ?>
	<?php if($ac->CurrentProfile->getPhone() != ''):  ?>
	<tr><td><?php echo ucfirst($txt->getWord('telephone')); ?>:</td><td>&nbsp;</td><td><?php echo $ac->CurrentProfile->getPhone(); ?></td></tr>
	<?php endif; ?>
	<?php if($ac->CurrentProfile->getMob() != ''):  ?>
	<tr><td><?php echo ucfirst($txt->getWord('mobile')); ?>:</td><td>&nbsp;</td><td><?php echo $ac->CurrentProfile->getMob(); ?></td></tr>
	<?php endif; ?>
    <?php if($ac->CurrentProfile->getFax() != ''):  ?>
	<tr><td><?php echo ucfirst($txt->getWord('fax')); ?>:</td><td>&nbsp;</td><td><?php echo $ac->CurrentProfile->getFax(); ?></td></tr>
	<?php endif; ?>
</table>
<?php if($ac->CurrentProfile->getEmail() != ''):  ?>
<p><a class="command bold" onclick="jQuery('#contactSellerForm').show('blind');"><?php echo ucfirst($txt->getWord('send').' '.$txt->getWord('e-mail')); ?></a></p>
<?php 
if($ac->getForms('contactSeller')->Fields['info']->getInfo() != '')
{ 
	echo $ac->getForms('contactSeller')->Fields['info']->getInfo(); 
	$ac->getForms('contactSeller')->Fields['info']->setInfo('');
}
?>
<div id="contactSellerForm" style="display:none;">
	<hr />
	<form name="contactSeller" method="post" enctype="multipart/form-data" action="">
		<fieldset class="com_form">
			<?php echo $ac->getForms('contactSeller')->getFieldsHTML(); ?>
			<input type="submit" name="submit" value="<?php echo ucfirst($txt->getWord('send').' '.$txt->getWord('e-mail')); ?>" />
		</fieldset>
	</form><hr />
</div>
<script type="text/javascript">
	$("fieldset.com_form").hover( function () { jQuery('input#stealth').val('<?php echo md5(date("m-d-w")); ?>'); });
</script>
<?php endif; ?>
<?php if($ac->CurrentProfile->getWww() != ''):  ?>
<p><br  /><a target="_blank" class="bold" href="<?php echo $ac->CurrentProfile->getWww(); ?>"><?php echo ucfirst($txt->getWord('homepage')); ?></a></b></p>
<?php endif; ?>
<br />
<?php if($ac->CurrentProfile->getName() != ''):  ?>
<p><?php echo ucfirst($txt->getWord('contact_person')); ?>: <?php echo $ac->CurrentProfile->getName(); ?> <?php echo $ac->CurrentProfile->getLastName(); ?></p>
<?php endif; ?>